<template>
	<view>
		登录界面
	</view>
	<navigator url="../index/index">index</navigator>
	<view>{{num}}</view>
	<button type="primary" @click="num++" class="btn">add</button>
	<item></item>
</template>

<script setup lang="ts">
	import { onShow, onReady, onLoad } from "@dcloudio/uni-app";
	import { ref } from "vue";
	import add from "@/utils/add";
	import md5 from "md5";
	console.log(add(10,20));
	console.log(md5("123456"));
	const num=ref(10);
	onShow(() => {
		console.log("登录页面展示");
	});
	onLoad(() => {
		console.log("登录页面加载");
	});
</script>

<style>
@import "./login.css"
</style>